import { _decorator, Component, Node, Enum } from 'cc';
import { BaseObject } from '../../ccc3-framework-core/framework/modules/baseObject';
import { portalType } from './portalType';
const { ccclass, property } = _decorator;

/**
 * 传送门控制组件
 */
@ccclass('portalControl')
export class portalControl extends BaseObject {

    @property({
        type: Enum(portalType)
    })
    public portalType: portalType = portalType.Entrance;

    start() {

    }

    update(deltaTime: number) {

    }
}

